button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  outline: none !important; /* Added !important */
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Update focus styles to prevent any outline */
button:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Optional: Add custom focus styles for keyboard navigation */
button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.header-container {
  position: fixed !important;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: all 0.3s ease;
}

.header-container.scrolled {
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

/* .temp-banner {
  background-color: #ffffff6f;
  padding: 8px 16px;
  border-radius: 4px;
  width: 100%;
  margin-top: 12px;
  transition: background-color 0.2s ease;
  cursor: pointer;
} */

/* .temp-banner:hover {
  background-color: #ffffff8b;
} */

.scroll-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  will-change: transform;
  z-index: 1;
}

.background {
  background: #050609;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  width: 100%;
}

.hero-main-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding-top: 48px;
}

.hero-container {
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
  gap: 124px;
  flex-direction: column;
  margin-top: 128px;
  z-index: 2;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-height: 1328px;
  background-image: linear-gradient(to top, #050609 5%, rgba(2, 6, 9, 0.2) 35%),
    url("../../assets/hero/hero_final.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 112px);
  max-height: 869px;
  max-width: 1388px;
  margin-top: 64px;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-content-container::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 0px;
}

.placeholder-window {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 6, 9, 0.2);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
  display: flex;
  gap: 8px;
  margin-right: 16px;
}

.window-controls span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window-controls span:nth-child(1) {
  background: #ff5f57;
}
.window-controls span:nth-child(2) {
  background: #febc2e;
}
.window-controls span:nth-child(3) {
  background: #28c840;
}

.window-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.window-content {
  height: calc(100% - 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050609;
}

.hero-content-container-switch-row {
  margin-top: 24px;
  padding: 8px;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.hero-content-switch {
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.hero-content-switch.active {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hero-content-switch:hover:not(.active) {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.yc-tag {
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  height: fit-content;
  width: fit-content;
  gap: 8px;
  margin-bottom: 32px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--Overlays-Black-Alpha-4, rgba(0, 0, 0, 0.2));
  backdrop-filter: blur(6px);
}

.home-cards-container {
  margin-left: 80px;
  margin-right: 80px;
  background-color: hsl(189, 64%, 4%);
  padding: 16px;
  border-radius: 4px;
  margin-top: 32px;
}

.home-card {
  border-radius: 4px;
  flex: 1;
  box-shadow: 0px 4px 16px -8px var(--Overlays-Black-Alpha-2, rgba(0, 0, 0, 0.1)),
    0px 3px 12px -4px var(--Overlays-Black-Alpha-2, rgba(0, 0, 0, 0.1)),
    0px 2px 3px -2px var(--Colors-Neutral-Neutral-Alpha-3, rgba(0, 0, 51, 0.06));
}

.module-container {
  flex: 1;
}

.hero-title {
  width: 100%;
  max-width: 848px;
  font-size: 80px !important;
  line-height: 96px !important;
  letter-spacing: -0.01em !important;
  color: #fff;
  /* filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3))
    drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2))
    drop-shadow(0 0 24px rgba(135, 206, 235, 0.2)); */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1), 0 0 6px rgba(0, 0, 0, 0.4);
}

.credit-main-container {
  gap: 80px;
}

.credit-button {
  border-radius: 8px;
  border: 1px solid var(--cyan-4);
  background: rgba(61, 185, 207, 0.3);
  padding: 12px 18px;
  transition: background-color 0.2s ease;
}

.credit-dp {
  border-radius: 50%;
  border: none;
  box-shadow: 0px 4px 16px -8px var(--Overlays-Black-Alpha-2, rgba(0, 0, 0, 0.1)),
    0px 3px 12px -4px var(--Overlays-Black-Alpha-2, rgba(0, 0, 0, 0.1)),
    0px 2px 3px -2px var(--Colors-Neutral-Neutral-Alpha-3, rgba(0, 0, 51, 0.06));
  transition: border 0.2s ease-in-out;
}

.credit-dp:hover {
  border: 2px solid var(--cyan-11);
}

.credit-button:hover {
  background-color: rgba(61, 185, 207, 0.5);
}

.signup-button {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: hsl(0, 0%, 100%);
  padding: 16px 24px;
  border-radius: 8px;
  width: fit-content;
  cursor: pointer;
  gap: 12px;
  transition: background-color 0.2s ease, gap 0.2s ease;
  overflow: hidden;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  text-decoration: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Add touch-friendly improvements */
  min-height: 44px; /* Minimum touch target size */
  touch-action: manipulation; /* Optimize for touch */
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}

@media (max-width: 552px) {
  .signup-button {
    padding: 16px 20px; /* Slightly larger touch target on mobile */
    min-width: 44px; /* Ensure minimum width for touch */
  }
}

.signup-button:hover {
  outline: 2px solid #fff !important;
}

/* Enhanced hover effect */
.signup-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  gap: 16px;
  color: #fff;
  outline: 2px solid #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1),
    0 0 30px rgba(255, 255, 255, 0.05), 0 0 40px rgba(255, 255, 255, 0.025);
}

.hero-description {
  padding: 8px 16px;
  margin-bottom: 80px;
  border-radius: 8px;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.hero-description::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmer 8s infinite;
  animation-delay: 4s;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  20%,
  100% {
    left: 200%;
  }
}

.features-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* ... existing code ... */

:root {
  --primary-color-rgb: 142, 236, 245; /* Ethereal turquoise from clouds */
  --secondary-color-rgb: 47, 201, 126; /* Green color */
}

/* .features-gradient-background {
  position: absolute;
  top: -30%;
  left: -90%;
  width: 200vw;
  height: 100%;
  background: radial-gradient(
    ellipse at top,
    rgba(var(--primary-color-rgb), 0.12) 0%,
    rgba(var(--primary-color-rgb), 0.08) 25%,
    rgba(var(--primary-color-rgb), 0.03) 50%,
    transparent 75%
  );
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.8;
  z-index: 0;
  animation: gradientFloat 12s ease-in-out infinite;
  transform-origin: center center;
} */

@keyframes gradientFloat {
  0% {
    transform: scale(1) translate(0, 0);
  }
  25% {
    transform: scale(1.1) translate(5%, -2.5%);
  }
  50% {
    transform: scale(0.95) translate(-2%, 4%);
  }
  75% {
    transform: scale(1.05) translate(-5%, -2.5%);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

.feature-left-box {
  flex: 1;
  flex-direction: column;
  gap: 80px;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
}

.feature-left-box > *:first-child {
  flex: 1;
}

.feature-left-box > *:last-child {
  flex: 2;
}

.feature-left-box-title {
  line-height: 1.2;
  font-weight: 600;
  font-size: 60px;
  width: 100%;
  max-width: 624px;
  color: #fff;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.08))
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.06))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-left-box-subtitle {
  letter-spacing: -0.2px;
  line-height: 1.4;
  color: #fff;
  max-width: 720px;
}

.feature-left-box-item {
  width: calc(50% - 12px);
  border-radius: 0px;
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-left-box-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0px;
  padding: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0) 1%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.1s ease;
}

.feature-left-box-item:hover::before {
  padding: 1.5px;
}

.feature-left-box-item:hover {
  transform: translateY(-2px);
  position: relative;
}

.feature-left-box-item:hover::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Layout Analysis - First instance */
.feature-left-box > *:last-child > *:nth-child(1) .feature-left-box-lottie {
  width: fit-content;
  height: fit-content;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02),
    0 4px 8px -2px rgba(0, 0, 0, 0.05), 0 8px 16px -4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* OCR - Second instance */
.feature-left-box > *:last-child > *:nth-child(2) .feature-left-box-lottie {
  width: fit-content;
  height: fit-content;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02),
    0 4px 8px -2px rgba(0, 0, 0, 0.05), 0 8px 16px -4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Schema Extract - Third instance */
.feature-left-box > *:last-child > *:nth-child(3) .feature-left-box-lottie {
  width: fit-content;
  height: fit-content;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(
    195deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02),
    0 4px 8px -2px rgba(0, 0, 0, 0.05), 0 8px 16px -4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-left-box > *:last-child > *:nth-child(4) .feature-left-box-lottie {
  width: fit-content;
  height: fit-content;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(
    225deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02),
    0 4px 8px -2px rgba(0, 0, 0, 0.05), 0 8px 16px -4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-right-box-image {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 16px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  line-height: 1.6;
  height: calc(100vh - 208px);
  max-width: 944px;
  padding-top: 0px;
  margin-top: 48px;
  margin-left: 48px;
  position: relative;
  background: linear-gradient(
    to bottom,
    rgb(5, 6, 9) 0%,
    rgb(5, 6, 9, 0.88) 90%
  );
  border-bottom: none;
  backdrop-filter: blur(16px);
  border: none;
  position: relative;
  transition: all 0.2s ease;
  padding-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2),
    0 16px 48px rgba(0, 0, 0, 0.1);
}

.feature-right-box-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.1) 99%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.curl-command {
  line-height: 1.6;
  white-space: pre;
  color: #e4e4e7;
  position: relative;
  height: calc(100% - 46px);
  transition: all 0.2s ease;
  padding: 1.5em;
  padding-top: 0px;
  overflow: auto;

  /* Scrollbar styling */
  scrollbar-width: 16px; /* Firefox */
  scrollbar-color: rgba(255, 255, 255, 0.7) #050609; /* Firefox */
}

/* WebKit browsers (Chrome, Safari, etc.) */
.curl-command::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.curl-command::-webkit-scrollbar-track {
  background: #050609;
}

.curl-command::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.curl-command::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.curl-command .command {
  color: #94a3b8;
}

.curl-command .flag {
  color: #67e8f9;
}

.curl-command .string {
  color: #86efac;
}

.curl-command .dim {
  color: #64748b;
}

.cursor {
  color: #67e8f9;
  font-weight: bold;
}

.cursor.blink {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.typed-text {
  display: inline-block;
  font-size: 14px;
  min-height: 184px;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-button-row {
  display: flex;
  gap: 8px;
}

.terminal-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.terminal-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.terminal-button.close {
  background: #ff5f56;
}

.terminal-button.minimize {
  background: #ffbd2e;
}

.terminal-button.maximize {
  background: #27c93f;
}

.rotating-globe {
  transform-origin: center;
  animation: rotate 11s ease-in-out infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  54.5% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.code-container {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.code-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.script-selector {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 8px 12px;
}

.keyword {
  color: #ff79c6;
}
.string {
  color: #f1fa8c;
}
.number {
  color: #bd93f9;
}
.comment {
  color: #6272a4;
}
.punctuation {
  color: #f8f8f2;
}
.operator {
  color: #ff79c6;
}
.variable {
  color: #f8f8f2;
}
.function {
  color: #50fa7b;
}
.property {
  color: #66d9ef;
}
.class-name {
  color: #8be9fd;
}

.tab-list {
  display: flex;
  gap: 2px;
}

.tab-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.tab-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.action-buttons {
  display: flex;
  gap: 4px;
}

.action-button {
  padding: 6px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.feature-right-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
  border-radius: 16px;
  flex: 1;
  height: calc(100vh - 128px);
  max-height: 800px;
  width: 100%;
  background: url("../../assets/hero/code_window_final.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  transition: all 0.3s ease;
}

.code-editor-content {
  display: flex;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  background: #050609;
  width: 100%;
}

.line-numbers {
  display: flex;
  flex-direction: column;
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  user-select: none;
  flex-shrink: 0;
}

.code-content {
  flex: 1;
  margin: 0;
  color: #e4e4e7;
  width: 0;
  padding: 16px 0px 24px 0px;
}

.code-content code {
  color: #a1a1aa;
  display: inline-block;
  white-space: pre;
  width: max-content;
}

/* Syntax highlighting */
.code-content .keyword,
.code-content .import {
  color: #94a3b8;
}
.code-content .string {
  color: #86efac;
}
.code-content .comment {
  color: #64748b;
}
.code-content .function,
.code-content .method {
  color: #67e8f9;
}
.code-content .variable,
.code-content .property {
  color: #e4e4e7;
}

.functionality-box {
  background-color: #050609;
  outline: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  height: 224px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.functionality-box-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.functionality-box-animation {
  position: absolute;
  bottom: -42px;
  right: 16px;
  transition: all 0.3s ease;
}

.functionality-box:hover .functionality-box-animation {
  bottom: 50%;
  transform: translateY(50%);
  right: 16px;
}

/* Update existing styles */
.functionality-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Start with a dark background */
  background: hsla(225, 29%, 1%, 0.92);
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Add a second overlay for the hover gradient */
.functionality-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    hsla(225, 29%, 3%, 0.9) 0%,
    hsla(0, 0%, 0%, 0) 90%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.functionality-box:hover::before {
  opacity: 0;
}

.functionality-box:hover::after {
  opacity: 1;
}

.functionality-box-segmentation-image {
  background-image: url("../../assets/cards/segmentation.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.functionality-box-ocr-image {
  background-image: url("../../assets/cards/ocr.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.functionality-box-outputs-image {
  background-image: url("../../assets/cards/outputs.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.functionality-box-structuredextraction-image {
  background-image: url("../../assets/cards/structuredextraction.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.functionality-box > * {
  position: relative;
  z-index: 2;
}

.functionality-box-image {
  position: absolute;
  bottom: -42px;
  right: 16px;
  transition: all 0.3s ease;
}

/* .functionality-box:hover {
  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.95),
    0 0 80px rgba(0, 0, 0, 0.8),
    0 0 2px rgba(255, 255, 255, 0.1),
    0 0 30px rgba(103, 232, 249, 0.08),
    inset 0 0 2px rgba(255, 255, 255, 0.05);
} */

/* .functionality-box:hover::before {
  opacity: 0.52;
} */

.functionality-box:hover .functionality-box-image {
  bottom: 50%;
  transform: translateY(50%);
  right: 16px;
}

.tag-container {
  padding: 8px 12px;
  height: fit-content;
  width: fit-content;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  backdrop-filter: blur(6px);
}

.features-bottom-box-title {
  line-height: 1.2;
  max-width: 620px;
  background: linear-gradient(180deg, #fff 0%, #dce4dd 50%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-bottom-box {
  padding: 56px;
  background: rgba(255, 255, 255, 0);
  border-radius: 16px;
  flex: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-bottom-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 0.5s ease;
  transform: scale(1.1);
}

.feature-bottom-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

/* Ensure content stays visible */
.feature-bottom-box > * {
  position: relative;
  z-index: 3;
}

.feature-bottom-box:hover::before,
.feature-bottom-box:hover::after {
  opacity: 1;
  transform: scale(1);
}

.feature-bottom-box-title {
  line-height: 1.2;
  font-weight: 600;
  font-size: 60px;
  max-width: 600px;
  background: linear-gradient(90deg, #fff 0%, #dce4dd 80%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.08))
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.06))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.pricing-section {
  width: 100%;
  max-width: 1424px;
  padding: 128px 24px;
}

/* Adjust Footer positioning */
.Footer {
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    gap: 48px;
  }

  .text-container {
    width: 100%;
  }

  .module-container {
    width: 100%;
  }

  .credit-main-container {
    flex-direction: column !important;
    gap: 0px;
  }
}

@media (max-width: 832px) {
  .hero-container {
    padding: 40px;
  }
}

@media (max-width: 552px) {
  .hero-container {
    margin-top: 128px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .curl-block-container {
    display: none;
  }

  .button-bottom {
    display: none;
  }

  .hero-title {
    font-size: 64px !important;
    line-height: 64px !important;
  }
}

@media (max-width: 772px) {
  .model-table-container {
    display: none;
  }
}

/* Media query for responsiveness */
@media (max-width: 768px) {
  .bottom-image-container {
    height: 300px; /* Adjust for smaller screens */
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@media (max-width: 450px) {
  .module-container {
    display: none;
  }

  .hero-title {
    font-size: 52px !important;
    line-height: 52px !important;
    margin-bottom: 32px;
  }

  .hero-description {
    font-size: 16px;
    line-height: 24px;
  }

  .signup-byline {
    font-size: 16px;
    line-height: 24px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Show image and overlay on hover */
.feature-bottom-box:hover::before,
.feature-bottom-box:hover::after {
  opacity: 1;
}

/* Add specific background images for each feature box */
.feature-bottom-box[data-feature="layout"]::before {
  background-image: url("../../assets/cards/layoutAnalysis.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-bottom-box[data-feature="ocr"]::before {
  background-image: url("../../assets/cards/ocr.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-bottom-box[data-feature="vlm"]::before {
  background-image: url("../../assets/cards/vlm.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-bottom-box[data-feature="chunking"]::before {
  background-image: url("../../assets/cards/chunking.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-bottom-box[data-feature="fileupload"]::before {
  background-image: url("../../assets/cards/fileHandling.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-bottom-box[data-feature="visibility"]::before {
  background-image: url("../../assets/cards/visibility.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-bottom-box[data-feature="secure"]::before {
  background-image: url("../../assets/cards/secure.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-bottom-box[data-feature="rust"]::before {
  background-image: url("../../assets/cards/rust.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-bottom-box[data-feature="code"]::before {
  background-image: url("../../assets/cards/code.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-bottom-box-icon {
  width: fit-content;
  height: fit-content;
  padding: 8px;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove default focus styling */
.tab-item:focus,
.action-button:focus {
  outline: none;
}

/* Optional: Add a custom focus style that only shows up when using keyboard navigation */
.tab-item:focus-visible,
.action-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.2);
  outline-offset: -2px;
}

/* Remove default button styling */
.tab-item,
.action-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.features-grid {
  width: 100%;
}

.features-grid .functionality-box {
  flex: 1;
  min-width: 0; /* Prevents flex items from overflowing */
}

/* Add responsive styling */
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column !important;
  }

  .features-grid .functionality-box {
    width: 100%;
  }
}

.learn-more-tag {
  position: absolute;
  bottom: 16px;
  left: 24px;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.functionality-box:hover .learn-more-tag {
  opacity: 1;
  transform: translateY(0);
}

.learn-more-tag:hover {
  background: rgba(255, 255, 255, 0.15);
}

.feature-bottom-box:hover .feature-box-title {
  margin-top: 24px !important;
}

.feature-bottom-box:hover .feature-box-description {
  margin-top: 8px !important;
}

.pricing-enterprise-container {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 40px;
  width: fit-content;
  transition: all 0.3s ease;
}

.pricing-enterprise-container:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.layout-analysis-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.control-switches {
  display: flex;
  gap: 2px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  width: max-content;
}

.control-switch {
  padding: 8px 16px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.control-switch.active {
  background: #ffffff;
  color: #050609;
}

.model-selector {
  display: flex;
  position: relative;
  z-index: 5;
  width: 100%;
}

.model-selector-button {
  width: 100%;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.model-selector-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Add these styles to make the flex children take equal width */
.feature-left-box > *:last-child {
  display: flex;
  gap: 96px;
  justify-content: between;
}

.feature-left-box > *:last-child > * {
  flex: 1;
  min-width: 0; /* Prevents flex items from overflowing */
  width: 0; /* Forces equal width distribution */
}

.bottom-nav-card {
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 16px -6px rgba(0, 0, 0, 0.05),
    0 8px 24px -12px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bottom-nav-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: skewX(-15deg);
  transition: 0.8s;
  pointer-events: none;
}

.bottom-nav-card:hover {
  box-shadow: 0 6px 24px -8px rgba(0, 0, 0, 0.1),
    0 8px 32px -12px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: translateY(-0.5px);
}

.bottom-nav-card:hover::before {
  left: 100%;
  transition: 0.6s ease-in-out;
}

.feature-left-box-controls {
  flex-wrap: wrap;
}

.feature-left-box-controls > * {
  min-width: 260px !important;
  max-width: 260px !important;
}

@media (max-width: 1400px) {
  .feature-bottom-box {
    max-width: 400px !important;
    min-width: 400px !important;
    padding: 24px;
  }

  .features-bottom-box-container {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
  }
}

@media (max-width: 1032px) {
  .pricing-container {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 1088px) {
  .feature-right-box-image {
    margin-right: 48px;
  }
}

@media (max-width: 940px) {
  .hero-content-container-main {
    display: none;
  }
}

@media (max-width: 896px) {
  .feature-bottom-box {
    max-width: 292px !important;
    min-width: 292px !important;
  }

  .features-bottom-box-container {
    margin-bottom: 16px;
  }
}

@media (max-width: 812px) {
  .pricing-enterprise-container {
    flex-direction: column;
    gap: 32px !important;
  }

  .enterprise-feature-item-container {
    gap: 24px !important;
  }
}

@media (max-width: 716px) {
  .feature-right-box-image {
    margin-right: 24px !important;
    margin-top: 24px !important;
    margin-left: 24px !important;
  }
}

@media (max-width: 694px) {
  .hero-description {
    max-width: 320px !important;
    padding: 8px;
  }

  .feature-bottom-box {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 24px 8px !important;
  }
}

@media (max-width: 552px) {
  .hero-description {
    max-width: 320px !important;
    padding: 8px;
    font-size: 14px !important;
  }

  .feature-left-box-title {
    font-size: 48px !important;
    line-height: 54px !important;
    font-weight: 600 !important;
  }

  .feature-bottom-box-title {
    font-size: 48px !important;
    line-height: 54px !important;
    max-width: 372px !important;
  }

  .feature-left-box-subtitle {
    font-size: 16px !important;
    line-height: 24px !important;
  }
}

@media (max-width: 486px) {
  .feature-left-box-title {
    font-size: 44px !important;
    line-height: 48px !important;
  }

  .feature-bottom-box-title {
    font-size: 40px !important;
    line-height: 48px !important;
    max-width: 292px !important;
  }

  .feature-left-box-subtitle {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .feature-right-box-image {
    margin-right: 8px !important;
    margin-top: 8px !important;
    margin-left: 8px !important;
  }
}

/* Make the category scroll-bar 4px wide, hide the track, style the thumb */
.category-scroll-container {
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent; /* thumb, track */
  justify-content: space-between;
}

/* WebKit browsers */
.category-scroll-container::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.category-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

.category-scroll-container::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border-radius: 4px;
}
